package com.unibeta.cloudtest.mesher.service;

import java.util.List;

import com.unibeta.cloudtest.mesher.dto.CloudTest;
import com.unibeta.cloudtest.mesher.dto.TreeModel;

public interface EditorService {
	
	public List<TreeModel> getFileTree(String rootPath) throws Exception;
	public void save(String content, String filePath)throws Exception;
	public CloudTest load(String filePath)throws Exception;
	public CloudTest run(CloudTest cloudtest)throws Exception;
	
	public void newFile(String filePath)throws Exception;
	public void newFolder(String filePath)throws Exception;
	public void deleteFile(String filePath)throws Exception;
	public void restoreWorkspace(String username, String workspace)throws Exception;

}
